home *** CD-ROM | disk | FTP | other *** search
- property myRes, myDepth, myXRes, myYRes
- global scrWidth, scrHeight, scrDepth, whatPath
-
- on enterFrame me
- if the platform contains "Windows,32" then
- case myRes of
- "640x480":
- myXRes = 640
- myYRes = 480
- "800x600":
- myXRes = 800
- myYRes = 600
- "1024x768":
- myXRes = 1024
- myYRes = 768
- end case
- if (scrWidth = baScreenInfo("width")) and (scrHeight = baScreenInfo("height")) and (scrDepth = baScreenInfo("depth")) then
- Ok = baSetDisplay(myXRes, myYRes, 32, "temp", 0)
- end if
- if (scrWidth = baScreenInfo("width")) and (scrHeight = baScreenInfo("height")) and (scrDepth = baScreenInfo("depth")) then
- Ok = baSetDisplay(myXRes, myYRes, 24, "temp", 0)
- end if
- if (scrWidth = baScreenInfo("width")) and (scrHeight = baScreenInfo("height")) and (scrDepth = baScreenInfo("depth")) then
- Ok = baSetDisplay(myXRes, myYRes, 16, "temp", 0)
- end if
- end if
- go(marker("1"), "Intro.dxr")
- end
-
- on getPropertyDescriptionList me
- return [#myRes: [#comment: "Change Resolution to", #format: #string, #range: ["640x480", "800x600", "1024x768"], #default: "800x600"]]
- end
-